package com.woniu.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Author LXB
 * @Date 2024/1/5 22:26
 * @Description
 **/
@Builder
@Accessors(chain = true)
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
@ToString
@ApiModel("上传文件表单")
public class FileUploadForm implements Serializable {
    private static final long serialVersionUID = 7181299238063337933L;

    @ApiModelProperty(value = "文件的base64,暂时默认保存为jpg")
    @NotBlank(message = "请选择文件")
    private String fileBase64;

}
